import unittest
from xin_utest.unit_01.zy821 import A3mall

# TestSuite 测试套件
# 1
# suite=unittest.TestSuite()
# suite.addTest(A3mall('test_a3mall_price'))


# 2
# suite=unittest.TestLoader().loadTestsFromTestCase(A3mall)

# 3
suite=unittest.defaultTestLoader.discover(start_dir='./',pattern='zy821.py')


# TestRunner 测试执行
runner=unittest.TextTestRunner()
runner.run(suite)


